home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / util / libs / VirtualMem12.lha / VirtualMem / Include / clib / virtualmem_protos.h
Encoding:
C/C++ Source or Header  |  1997-08-07  |  822 b   |  34 lines

  1. #ifndef CLIB_VIRTUALMEM_PROTOS_H
  2. #define CLIB_VIRTUALMEM_PROTOS_H
  3.  
  4. /*
  5. **    $VER: virtualmem_protos.h 1.2 (7.8.1997)
  6. */
  7.  
  8. #ifndef EXEC_TYPES_H
  9. #include <exec/types.h>
  10. #endif
  11.  
  12. #ifndef LIBRARIES_VIRTUALMEM_H
  13. #include <libraries/virtualmem.h>
  14. #endif
  15.  
  16. APTR CreateVMem(ULONG size,ULONG bits,LONG pri,ULONG virtualbits);
  17. VOID RemoveVMem(APTR handle);
  18. APTR LockVMem(APTR handle);
  19. VOID UnlockVMem(APTR handle);
  20.  
  21. /* These two functions are private - use them at your own risk. */
  22. BOOL PageOut(APTR handle);
  23. BOOL PageIn(APTR handle);
  24.  
  25. VOID ChangeVMemPri(APTR handle,LONG newpri);
  26. BOOL FlushVMem(ULONG attrs);
  27. APTR MakeVMem(APTR memory,ULONG size,ULONG flags,ULONG virtualflags);
  28. VOID GetVMemInfo(struct VMemStat *info);
  29. VOID AutoAdjustPri(APTR *handlearray);
  30. ULONG SetVMemFlags(APTR handle,ULONG flags);
  31. VOID UpdateVMemPrefs();
  32.  
  33. #endif
  34.